<template>
  <div id="app">
    <!-- <img alt="Vue logo" src="./assets/logo.png"> -->
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
    <!-- <swipe class="my-swipe" :continuous="false" :showIndicators="false" :auto="false">
      <swipe-item class="slide1"></swipe-item>
      <swipe-item class="slide2"></swipe-item>
      <swipe-item class="slide3"></swipe-item>
    </swipe> -->
    
    <agile 
      class="my-swipe" 
      :centerMode="true"
      :fade="true"
      :infinite="false"
      :speed="speed" 
      :timing="timing[3]" 
      :mobileFirst="true" 
      :pauseOnHover="false"
    >
      <div class="slide slide1">
        <h3>slide 1</h3>
      </div>
      <div class="slide slide2">
        <h3>slide 2</h3>
      </div>
      <div class="slide slide3">
        <h3>slide 3</h3>
      </div>
	  </agile>
  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'app',
  components: {
    // HelloWorld
  },
  data () {
    return {
      timing: ['linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out'],
      speed: 2200
    }
  }
}
</script>

<style>
#app {
  /* font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; */
  /* text-align: center; */
  /* color: #2c3e50; */
  /* margin-top: 60px; */
  height: 500px;
}
.my-swipe {
  height: 200px;
  color: #fff;
  font-size: 30px;
  text-align: center;
}

.slide1 {
  background-color: #0089dc;
  color: #fff;
}

.slide2 {
  background-color: #ffd705;
  color: #000;
}

.slide3 {
  background-color: #ff2d4b;
  color: #fff;
}
</style>
